home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / AciusTN8-92.cpt / AciusTN8-92 / GraphicalButtonsƒ / ButtonPkg-US / ButtonPackage.Ext.rsrc / 4Dte_26002 < prev    next >
Text File  |  1992-10-10  |  475b  |  15 lines

  1. Give the state of the button passed in parameter.
  2. 0 -> The button was not pushed
  3. 1 -> The button was pushed
  4. Note : After a first read, the returned value will always be 0, until a future push.
  5.  
  6. Use example :
  7. In External Area script :
  8. If((bp_Get(Self»))=1)
  9.   ` The button was pushed…
  10.   …
  11. End if
  12.  
  13. Note : For two states buttons, use bp_Read function.
  14.  
  15. Written by François Marchal, © ACI 1991. Source Code in MPW Pascal and complete explanations in ACI Technical Note 23, May 91